﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="three.aspx.cs" Inherits="CSMF.three" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRatingControl" TagPrefix="dx" %>
<%@ Register Src="FootControl.ascx" TagName="FootControl" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="css/style44.css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="js/js.js"></script>

    <script type="text/javascript" src="js/swfobject.js"></script>

    <script language="JavaScript" type="text/JavaScript">

        function showhidediv(id) {

            var age = document.getElementById("msg_2");
            var age1 = document.getElementById("msg_3");
            var age2 = document.getElementById("msg_4");
            var name = document.getElementById("msg_1");
            if (id == 'name') {
                if (name.style.display == 'none') {
                    age1.style.display = 'none';
                    age.style.display = 'none';
                    age2.style.display = 'none';
                }
            } else if (id == 'age') {
                if (age.style.display == 'none') {
                    age.style.display = 'block';
                    age1.style.display = 'none';
                    age2.style.display = 'none';
                }
            }
            else if (id == 'age1') {
                if (age1.style.display == 'none') {
                    age.style.display = 'none';
                    age1.style.display = 'block';
                    age2.style.display = 'none';
                }
            }
            else {
                if (age2.style.display == 'none') {
                    age.style.display = 'none';
                    age1.style.display = 'none';
                    age2.style.display = 'block';
                }
            }
        }


        function addfavorite() {
            if (document.all) {
                window.external.addFavorite('http://www.csmff.com/', '海峡两岸微电影大赛');
            }
            else if (window.sidebar) {
                window.sidebar.addPanel('海峡两岸微电影大赛', 'http://www.csmff.com/', "");
            }
        } 

    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="home">
        <div class="home-header">
            <center>
                <div class="table">
                    <p>
                        <span>用户名：<input name="" type="text" /></span><span>密码：<input name="" type="text" /></span><input
                            name="" value="登录" type="button" class="tableinputbetten" /><input value="取消" type="button"
                                class="tableinputbetten" /></p>
                </div>
            </center>
        </div>
        <div class="home-wrapper">
            <div class="home-naver">
                <div class="naver">
                    <a name="wlszlisttop"><a href="index.aspx" class="n1">首页</a> <a href="AboutMatch_1.aspx"
                        class="n2">关于大赛</a> <a href="HollywoodList.aspx" class="n3">通向好莱坞之旅</a> <a href="MerakList.aspx"
                            class="n4 selected">微力十足</a> <a href="http://vote.fjta.com/" target="_blank" class="n5">
                                市长带你游</a> <a href="ThemeList.aspx" class="n6">主题活动</a> <a href="NewsList.aspx" class="n7">
                                    媒体中心</a> <a href="TeamWork_1.aspx" class="n8">大赛合作</a> <a href="Volunteer.aspx" class="n9">
                                        志愿者招募</a> <a href="Join.aspx" class="n10">我要参赛</a>
                </div>
                <div class="home-banner">
                    <div class="head">
                        <p class="BigTitle">
                            视频：<asp:Literal ID="litTitle" runat="server"></asp:Literal></p>
                        <p class="BigTitlea">
                            <a href="#">大赛首页</a>>><a href="#">微力十足</a>>><a href="#">视频</a></p>
                    </div>
                    <div class="body">
                        <div id="Tab2">
                            <asp:Repeater ID="rptIcon" runat="server">
                                <ItemTemplate>
                                    <a href='<%# "MerakDetail.aspx?id=" + Request.QueryString["id"] + "&vid=" + Eval("ID") %>'>
                                        <img src='<%# "Icon/" + GetImage(Convert.ToInt32(Eval("IconID"))) %>' /></a>
                                </ItemTemplate>
                                <SeparatorTemplate>
                                </SeparatorTemplate>
                            </asp:Repeater>
                            <embed src="<%= GetVideo(Convert.ToInt32(Request.QueryString["id"])) %>" quality="high"
                                width="1000" height="563" align="middle" allowscriptaccess="always" allowfullscreen="true"
                                mode="transparent" type="application/x-shockwave-flash"></embed>
                        </div>
                    </div>
                    <div class="bodydown">
                        <div id="msg_1" style="display: block; height: 60px; margin: 0px 5px 0 0">
                            <p onclick='showhidediv("age");' class="one">
                            </p>
                            <p onclick='showhidediv("age1");' class="three">
                            </p>
                        </div>
                        <p onclick='addfavorite()' class="two">
                        </p>
                        <p onclick='showhidediv("age2");' class="four">
                        </p>
                        <span>播放数：<asp:Literal ID="litCount" runat="server"></asp:Literal></span>
                    </div>
                </div>
                <div class="home-row">
                    <div class="home-mainleft">
                        <div id="msg_2" style="display: none; float: left; margin: 0px 0px 10px 0; border: 1px solid #ebebec">
                            <div class="msg_2">
                                <span>点评：</span>
                                <asp:RadioButtonList ID="rblPoint" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                    <asp:ListItem Value="1">1分</asp:ListItem>
                                    <asp:ListItem Value="2">2分</asp:ListItem>
                                    <asp:ListItem Value="3">3分</asp:ListItem>
                                    <asp:ListItem Value="4">4分</asp:ListItem>
                                    <asp:ListItem Value="5">5分</asp:ListItem>
                                    <asp:ListItem Value="6">6分</asp:ListItem>
                                    <asp:ListItem Value="7">7分</asp:ListItem>
                                    <asp:ListItem Value="8">8分</asp:ListItem>
                                    <asp:ListItem Value="9">9分</asp:ListItem>
                                    <asp:ListItem Value="10">10分</asp:ListItem>
                                </asp:RadioButtonList>
                            </div>
                            <div style="float: right; margin: 8px 10px 0 0;">
                                <asp:Button ID="btnPoint" runat="server" Text="评分" OnClick="Button1_Click" />
                            </div>
                            <input type="hidden" name="" value="">
                        </div>
                        <div id="msg_3" style="display: none; float: left; margin: 0px 0px 10px 0; border: 1px solid #ebebec">
                            分享
                        </div>
                        <div id="msg_4" style="display: none; float: left; margin: 0px 0px 10px 0; border: 1px solid #ebebec">
                            <asp:TextBox ID="txtWarning" runat="server" Rows="5" TextMode="MultiLine" Width="500px"></asp:TextBox><br />
                            <asp:Button ID="btnWarning" runat="server" Text="发送错误报告" OnClick="btnWarning_Click" />
                        </div>
                        <div class="home-main">
                            <div class="home-wlsz">
                                <div class="head">
                                    <span>
                                        <img src="imgs/imges/pinglun.png" width="134" height="49" /></span>
                                </div>
                            </div>
                            <div class="Comment_on">

                                <script type="text/javascript">
                                    (function() {
                                        var url = "http://widget.weibo.com/distribution/comments.php?width=0&url=auto&fontsize=12&appkey=4292615654&dpc=1";
                                        url = url.replace("url=auto", "url=" + document.URL);
                                        document.write('<iframe id="WBCommentFrame" src="' + url + '" scrolling="no" frameborder="0" style="width:100%"></iframe>');
                                    })();
                                </script>

                                <script src="http://tjs.sjs.sinajs.cn/open/widget/js/widget/comment.js" type="text/javascript"
                                    charset="utf-8"></script>

                                <script type="text/javascript">
                                    window.WBComment.init({
                                        "id": "WBCommentFrame"
                                    });
                                </script>

                                <div class="Comment_onbg">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="home-aside" style="margin-top: 0px;">
                        <div class="home-dszjl">
                            <div class="head">
                                <img src="imgs/imges/pinglun3.png" width="116" height="48" style="margin-left: 5px;" /></div>
                            <div class="Messagesolid">
                            </div>
                            <div class="Messagebox">
                                <h3>
                                    <asp:Literal ID="litTitle1" runat="server"></asp:Literal></h3>
                                <p>
                                    <asp:Image ID="imgAuthor" runat="server" /></p>
                                <p>
                                    作者：<asp:Literal ID="litAuthor" runat="server"></asp:Literal></p>
                                <p>
                                    分数：<asp:Literal ID="litPoint" runat="server"></asp:Literal></p>
                                <p>
                                    上传时间：<asp:Literal ID="litDate" runat="server"></asp:Literal></p>
                                <p>
                                    <strong>视频简介：</strong><asp:Literal ID="litVideoContent" runat="server"></asp:Literal></p>
                            </div>
                        </div>
                    </div>
                    <div class="home-aside massjian">
                        <div class="home-dszjl">
                            <div class="head">
                                <img src="imgs/imges/pinglun4.png" width="120" height="48" style="margin-left: 5px;" /></div>
                            <div class="Messagesolid">
                            </div>
                            <div class="Messageimg">
                                <asp:Repeater ID="rptVideoLast" runat="server">
                                    <ItemTemplate>
                                        <div class="Messageimgsamll">
                                            <a href='<%# "MerakDetail.aspx?id=" + Eval("ID") %>'><span>
                                                <img src='<%# "UpLoad/videoImage/" + Eval("Image") %>' width="80px" /></span>
                                                <p>
                                                    <%# Eval("Title").ToString().Length > 10 ? Eval("Title").ToString().Substring(0, 9) + "..." : Eval("Title").ToString()%></p>
                                                <p>
                                                    得分：<%# GetPoint(Convert.ToInt32(Eval("ID")))%></p>
                                                <p>
                                                    点击量：<%# Eval("Count").ToString()%></p>
                                            </a>
                                        </div>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc1:FootControl ID="FootControl1" runat="server" />
    </div>
    </form>
</body>
</html>
